<template>
    <div class="maincontent">
        <el-form :inline="true" label-position="right" :model="form" label-width="80px">
            <div class="maintitle">可研咨询（评审）信息</div>
            <div class="formcontent">
                <el-form-item label="咨询时间" style="margin-right:60px;">
                    <el-date-picker
                        type="date"
                        placeholder="咨询时间">
                    </el-date-picker>
                </el-form-item>
                <el-form-item label="咨询地点">
                    <el-input style="width:200px;">
                    </el-input>
                </el-form-item>
            </div>
            <div>
                <el-form-item label="咨询组长">
                    <el-input style="width:565px;">
                    </el-input>
                </el-form-item>
            </div>
            <div>
                <el-form-item label="成员">
                    <el-input style="width:565px;">
                    </el-input>
                </el-form-item>
            </div>
            <div>
                <el-form-item label="咨询结论">
                    <el-input style="width:565px;" type="textarea" rows="4">
                    </el-input>
                </el-form-item>
            </div>
            <div class="maintitle" style="margin-top:60px;">可研评审资料</div>
            <div class="formcontent">
                <el-form-item label-width="112px" label="专家咨询意见书">
                    <el-upload
                        class="upload-demo"
                        action="https://jsonplaceholder.typicode.com/posts/"
                        :file-list="fileList"
                        :on-success="getreport"
                        >
                        <el-button size="small">上传</el-button>
                    </el-upload>
                </el-form-item>
            </div>
            <div style="margin-top:40px;">
                <el-form-item>
                    <el-button type="primary" @click="onSubmit">提交</el-button>
                    <el-button>取消</el-button>
                </el-form-item>  
            </div>
            
        </el-form>
        
    </div>
</template>

<script>

export default {
    data() {
        return {
            form:{

            },
            fileList:[],
        };
    },
    
    created() {
        
    },
    methods: {
        onSubmit(){

        },
        getreport(response, file, fileList){
            this.fileList = [];
            this.fileList.push(file)
        }
    }
};
</script>

<style lang="scss" scoped>
    .maincontent{
        padding: 10px 40px;
        .maintitle{
            font-size:18px;
            font-family:PingFang SC;
            font-weight:bold;
            line-height:25px;
            color: #4d4d4d;
        }
        .formcontent{
            margin-top: 30px;
        }
    }
</style>
 